﻿CREATE TABLE [dbo].[ServiceSetting] (
    [ServerSettingId] INT           IDENTITY (1, 1) NOT NULL,
    [ServiceId]       INT           NULL,
    [Name]            NVARCHAR (4000) NULL,
    [Value]           SQL_VARIANT   NULL,
    [Minimum]         INT           NULL,
    [Maximum]         INT           NULL,
    CONSTRAINT [PK_ServiceSetting] PRIMARY KEY CLUSTERED ([ServerSettingId] ASC),
    CONSTRAINT [FK_ServiceSetting_Service] FOREIGN KEY ([ServiceId]) REFERENCES [dbo].[Service] ([ServiceID])
);

